package com.dayuanit.dy17.atm.mapper;

import com.dayuanit.dy17.atm.entity.User;

public interface UserMapper {
    int deleteByPrimaryKey(Long id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    User getByUserName(String username);

    User getByEmail(String email);

    int countByEmail(String email);
}